import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import App from './App.vue'
import router from './router'

import piniaPluginPersistedstate  from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

// 导入全局样式
import 'element-plus/dist/index.css'
// 导入字体图标
import '@/assets//fonts/iconfont.css'

import {ElementPlusIcons} from '@/plugin/element-icon'

// 导入 mock 数据
import '@/assets/js/mock/index'


createApp(App).use(pinia).use(router).use(ElementPlusIcons).mount('#app')
